cmd:StdMsgQueue.c cmd.c
	gcc StdMsgQueue.c cmd.c -o cmd

p1:StdMsgQueue.c p1.c
	gcc StdMsgQueue.c p1.c -o p1

p2:StdMsgQueue.c p2.c
	gcc StdMsgQueue.c p2.c -o p2

.PHONY:all clean

all:
	make cmd
	make p1
	make p2

clean:
	rm -f cmd p1 p2